import pandas as pd

from common import currency_exchange, suburb_summary, avg_land_size, prop_val_distribution, sales_trend, locate_price
from read import extract_property_info


df = extract_property_info("property_information.csv")
price = currency_exchange(df,0.98)
#message = suburb_summary(df,'Clayton')
avg_land_size_data = avg_land_size(df,'Clayton')
#prop_val_distribution(df,'Clayton','USD')
#sales_trend(df)
locate_price_data = locate_price(405000,df,'Clayton')

# 显示前两行数据
#print(df.head(2))
# 显示前最后一行数据
#print(df.tail(1))
#print(df.describe())
print(locate_price_data)